package com.newworld.basketballfire.main.dao.mapper;

import com.newworld.basketballfire.main.bean.NoteListParam;
import com.newworld.basketballfire.service.model.Note;

import java.util.List;

/**
 * Created by George on 2019/4/21.
 * NoteMapper
 */
public interface NoteMapper {
    void addNote(Note note);

    void updateNote(Note note);

    Note getNote(String id);

    void deleteNote(String id);

    List<Note> getNoteList(NoteListParam noteListParam);

    int getNoteListTotalCnt(NoteListParam noteListParam);
}
